@import "../../less/extend/global";

@marginBottom: 10px;

.selected:before {
    border-color: #999;
}

.m-address {
    display: block;
    padding: 0 12px 4px;
    background: url(../../img/address_bg.png) left bottom repeat-x;
    background-size: auto 4px;

    background-color: #fff;
    margin-bottom: @marginBottom;

    &:active {
        background-color: #fbfbfb;
    }

    .a-add {
        color: #000;
        font-size: 13px;
        height: 50px;
        line-height: 50px;

        i {
            font-size: 14px;
            padding-left: 4px;
            padding-right: 10px;
            font-weight: bold;
        }
    }

    .a-info {
        padding: 12px 15px 12px 5px;
        color: #101010;

        .i-base {
            height: 25px;
            line-height: 25px;
        }

        .i-det {
            font-size: 12px;
            color: #808080;
            padding: 2px 0;
        }
    }
}

.m-item {
    position: relative;
    padding: 12px;
    border-radius: 2PX;
    background-color: #fff;
    margin-bottom: @marginBottom;

    .i-yen {
        font-size: 24px;
        padding: 10px 0;
        color: @default-darken-color;
        font-weight: bold;

        label {
            padding-right: 4px;
        }
    }

    .i-tle {
        font-size: 14px;
        line-height: 30px;
    }

    .i-con {
        font-size: 12px;
        color: #999;
        padding: 6px 0;
        line-height: 1.5;
    }
}

.m-bar {
    margin-bottom: @marginBottom;
    height: 48px;
    line-height: 48px;
    background-color: #fff;
    padding: 0 12px;
    font-size: 13px;

    &.selected {
        &:active {
            background-color: #fbfbfb;
        }
    }

    .b-name {
        // width: 100px;
        float: left;
    }

    .b-spinner {
        // width: 100px;
        float: right;
        line-height: 30px;
        margin-top: 8px;

        border: 1PX solid #f0f0f0;
        border-radius: 1PX;
        display: inline-block;
        overflow: hidden;

        &>a {
            float: left;
            width: 30px;
            height: 30px;
            text-align: center;
            font-weight: bold;
            color: #666;
            letter-spacing: 0;
            background-color: #F8F8F8;
            font-size: 18px;
            cursor: pointer;
        }

        &>input {
            letter-spacing: 0;
            float: left;
            width: 40px;
            height: 30px;
            text-align: center;
            color: #666;
            border: none;
        }
    }
}

.m-read {
    padding: 0 12px 0 35px;
    font-size: 12px;
    height: 20px;
    line-height: 20px;
    position: relative;
    color: #666;

    i {
        position: absolute;
        top: 0px;
        left: 14px;
        color: @default-color;
        font-size: 14px;
    }

    a {
        color: @default-color;
    }
}

.m-btn-container {
    padding: 10px;

    .c-left {
        height: 37px;
        line-height: 37px;
        text-align: left;
        font-size: 16px;

        .l-tol {
            color: #fd5f5b;
        }
    }

    .m-btn {
        margin: 0px;
        width: 100px;
    }
}